package com.lc.app.androidfirst.userdefine.activity;

import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.lc.app.androidfirst.R;

import java.util.Timer;

public class DisplayLoginActivity extends ActionBarActivity {

    private TextView displayEmail;
    private TextView displayPassword;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_display_login);
        Intent intent = getIntent();
        Bundle bundle = intent.getExtras();
        UserLoginTask loginEntity = (UserLoginTask) bundle.getSerializable(LoginActivity.KEY_EXTRA_SERIALIZABLE);

        displayEmail = (TextView) findViewById(R.id.displayEmail);
        displayPassword = (TextView) findViewById(R.id.displayPassword);

        displayEmail.setText(loginEntity.getmEmail());
        displayPassword.setText(loginEntity.getmPassword());

    }
}
